import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import Path from 'path';

export default defineConfig({
    resolve: {
        alias: {
            react: Path.resolve("src/react"),
            "react-dom": Path.resolve("src/react-dom"),
            "react-dom-bindings": Path.resolve("src/react-dom-bindings"),
            "react-reconciler": Path.resolve("src/react-reconciler"),
            scheduler: Path.resolve("src/scheduler"),
            shared: Path.resolve("src/shared"),
        },
    },
    plugins: [
        react()
    ],
});